<template>
  <div>
    <avue-crud :data="data" :option="option"></avue-crud>
  </div>
</template>

<script lang="ts">
import { Vue, Component, Prop } from "vue-property-decorator";

@Component
export default class ResourceCrud extends Vue {
  @Prop(String) resource!: string;

  option = {
    column: [{ prop: "title", label: "标题" }],
  };
  data = [{ title: "test" }];
}
</script>
